// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
import {get, post} from './utils/http'
// import { Cell, CellGroup } from 'vant';
// import { Button } from 'vant';
// import { Search } from 'vant';
// import { Swipe, SwipeItem } from 'vant';
// import { NoticeBar } from 'vant';
// import { Tab, Tabs } from 'vant';
// import { List } from 'vant';
// import { Row, Col } from 'vant';
// import {
//   GoodsAction,
//   GoodsActionBigBtn,
//   GoodsActionMiniBtn
// } from 'vant';
// import { NavBar } from 'vant';
// import { Icon } from 'vant';
// import { Tabbar, TabbarItem } from 'vant';
// Vue.use(Icon);
// Vue.use(NavBar);
// Vue.use(GoodsAction)
// Vue.use(GoodsActionBigBtn)
// Vue.use(GoodsActionMiniBtn);
// Vue.use(Row).use(Col);
// Vue.use(List);
// Vue.use(Tab).use(Tabs);
// Vue.use(NoticeBar);
// Vue.use(Swipe).use(SwipeItem);
// Vue.use(Search);
// Vue.use(Button);
// Vue.use(Cell).use(CellGroup);
// Vue.use(Tabbar).use(TabbarItem);
// import { Actionsheet } from 'vant';
// Vue.use(Actionsheet)
Vue.config.productionTip = false
Vue.prototype.$GET = get
Vue.prototype.$POST = post

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
